package com.topvision.service.impl.hes;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.hes.HesEquipmentMapper;
import com.topvision.model.hes.HesEquipment;
import com.topvision.service.hes.HesEquipmentService;

@Service("hesEquipmentService")
public class HesEquipmentServiceImpl implements HesEquipmentService {
	@Autowired
	private HesEquipmentMapper hesEquipmentMapper;
	
	@Override
	public HesEquipment queryObject(Long id){
		return hesEquipmentMapper.queryObject(id);
	}
	
	@Override
	public List<HesEquipment> queryList(Map<String, Object> map){
		return hesEquipmentMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hesEquipmentMapper.queryTotal(map);
	}
	
	@Override
	public void save(HesEquipment hesEquipment){
		hesEquipmentMapper.save(hesEquipment);
	}
	
	@Override
	public void update(HesEquipment hesEquipment){
		hesEquipmentMapper.update(hesEquipment);
	}
	
	@Override
	public void delete(Long id){
		hesEquipmentMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		hesEquipmentMapper.deleteBatch(ids);
	}

    @Override
    public HesEquipment queryObjectByMap(Map<String, Object> map){
        return hesEquipmentMapper.queryObjectByMap(map);
    }

    @Override
    public List<HesEquipment> queryByParam(Map<String, Object> map){
        return hesEquipmentMapper.queryByParam(map);
    }
}
